home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 75
/
64er_Magazin_Sonderheft_75_19xx_Markt__Technik_de_Side_A.d64
/
blitter demo2
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
385b
|
19 lines
1 speicher:poke 53280,0:poke53281,0:print""
2 clear:start
10 for n=200to100 step -2:a=n/300
20 for m=nto100+nstep20
28 gosub2000
40 next:bild:next
50 for n=99to-100 step -2:a=n/300
60 for m=nto100+nstep10
65 gosub2000:next:bild:next
1000 film 129
2000 if m<=1then return
2010 b=4000/m:x1=-b*2:x2=-x1
2020 y1=-b/2:y2=y1
2030 z1=cos(a)*x1+sin(a)*y1
2040 z2=cos(a)*x2+sin(a)*y2
2050 y1=+sin(a)*x1+cos(a)*y1
2060 y2=+sin(a)*x2+cos(a)*y2
2070 line z1,y1,z2,y2:return